//
//  IMGameStrategyService.h
//  DualMediationSDK
//
//  产品策略服务
//  Created by YeJary on 2025/7/15.
//

#import <Foundation/Foundation.h>
#import "IMGameStrategyModels.h"

NS_ASSUME_NONNULL_BEGIN

/**
 * 产品策略服务类
 * 负责处理产品策略相关的网络请求
 */
@interface IMGameStrategyService : NSObject

/**
 * 单例实例
 */
+ (instancetype)sharedService;

/**
 * 获取产品策略
 * @param appId 应用ID
 * @param uuid 用户唯一ID
 * @param success 成功回调
 * @param failure 失败回调
 */
- (void)getGameStrategyWithAppId:(NSString *)appId
                            uuid:(NSString *)uuid
                         success:(void(^)(IMGameStrategyResponse *response))success
                         failure:(void(^)(NSError *error))failure;

/**
 * 获取产品策略（使用请求模型）
 * @param request 产品策略请求模型
 * @param success 成功回调
 * @param failure 失败回调
 */
- (void)getGameStrategyWithRequest:(IMGameStrategyRequest *)request
                           success:(void(^)(IMGameStrategyResponse *response))success
                           failure:(void(^)(NSError *error))failure;

@end

NS_ASSUME_NONNULL_END